ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc Namespace / MenuBase<T> Class / HeaderPath Property

In This Topic
    HeaderPath Property (MenuBase<T>)
    In This Topic
    Gets or sets the name of a property to use for getting the value displayed in the control's input element.
    Syntax
    'Declaration
     
    Public Overridable Property HeaderPath As String
    public virtual string HeaderPath {get; set;}
    Remarks
    The default value for this property is null, which causes the control to display the same content in the input element as in the selected item of the drop-down list. Use this property if you want to de-couple the value shown in the input element from the values shown in the drop-down list. For example, the input element could show an item's name and the drop-down list could show additional detail.
    See Also